4b code base
[X]added processed lumi section[X]updating skip colections and (removing HLT branches)[X]Remake plotting to be more flexible re:hist structure ?[X]Script to check process lumi section agaist json[X]Reduce histograms Do we need the "other" tag list item ? / other regions ? passPreSel cut ?[ ]RunII and Run3 options to sum over the proper years[X]Histograms to cutflow[X]Matplotlib ".py"[X]clean JCM code[ ]Why is canJet Phi 0-pi ?[ ]Code to make cutflow eff plots[X]Debug variable binning function[X]Dont draw ration points when no data[ ]Use snakemake to config the CI ?[X]New coffea version … new awkward version
Logs
20 July 2026 Monday
[X]Can you spawn a worker to prepopulate the history in pourover with some examples so I make the plots by hitting "up". eg: already "plot("selJets.pt")" appears grayed out on start up. It would be good if I can access that command in the history, can you also add other options where I rebin or use yscale="log" and do region = "sum"- spawn a worler for …
[X]Veriffy … Looks good!
02 July 2026 Thursday
- Fixing the iPlot and pourOver locally
30 June 2026 Tuesday
- Ran a local test of new SvB histogrmas (and probably also new Jet Hists)
- [>>] Check hists
29 June 2026 Monday
- cleaning up the unneeded HF candidates
- adding histograms for the extra cand vars
[X]Want to make list of SvBs configurable…- Now the SvB hists are discoverable based on the friend list
- [>>] Verrify the new plots are being made
10 June 2026 Wednesday
- Doing the ak2 refactor … Done… Big speed up in the thrust calculations apparently
05 June 2026 Friday
- Migrating akward->akward2 … in cworker
- Making a new CI for Run3 mixing coverage … added … committed
[X]Planning a refactor from on ak2- Adding a full Run3 CI with the cutflow check before ak2 refactor.. merged
07 May 2026 Thursday
- Thinking of a better way to compute the normalization parameter in the JCM fits… now floating it…. Leads to much better fits
06 May 2026 Wednesday
- FeynNet fixed !!!!
05 May 2026 Tuesday
- Re running histogrmas…
- No change..
- Debuging weights… found that the SvBFeynNet scores are unchanged
- Looks like lpc had stale code when the weights were remake…
- Remaking data friends on
cmslpc335… done - Remaking hists on falcon
./run_container snakemake --snakefile coffea4bees/workflows/Snakefile_Run3.smk --profile software/snakemake/profiles/falcon --config mode=quadjet_run2 --jobs 20 --logger snkmt --rerun-triggers mtime --allowed-rules make_histograms merge_histograms make_histograms_wJCM merge_histograms_wJCM make_plots_wJCM make_histograms_FvT merge_histograms_FvT make_plots_FvT create_friends_wSvB create_friends_FvT create_histogram_config_wSvB create_histogram_config_wJCM create_histogram_config_FvT all_histograms all_FvT_histograms -- all_histograms all_FvT_histograms
04 May 2026 Monday
- Think I found the issue in the FeynNet discrepancies… we are not vetoing fwd jets that are higgs cand jets.
- Rerunning SvBFeynNet friends
- data only
- Resubmitted data on
cmslpc354
./run_container snakemake --profile software/snakemake/profiles/lpc --snakefile coffea4bees/workflows/Snakefile_SvBFeynNet_friendtrees_Run3.smk --cores 4 --logger snkmt --retries 2 --rerun-triggers mtime --forcerun make_SvBFeynNet_friendtrees_data
01 May 2026 Friday
- Adding HH to the SvB friendtree processing
- New Feynet distributions look reasonable
- Remake FvT and MvD studies with new
29 April 2025 Tuesday
- Update fourTag selection in Run3 to 3T1M
- Will add a configuration flag which we will turn off when doing the synthetic or mixed data
[X]Dont want to affect mixed hemisphere making[X]Synthetic data making- Added Tight selection and 3T1M fourTag definition
- Merged
- Good idea re: parking and pre-parking…
- for data will set a flag based on the run number if >XXX is parking
- for MC will create friend tree to randomly assign based on lumi weights
- Need:
[X]lumis per era preparking = 5.613751282 / parking = 12.350466716 fraction = 0.687505683467[X]Max run number
- Code wired up
- CI passed
- Runnign Snake make to make the classifier isparking MC inputs… on tmux…
cmslpc343
./run_container snakemake --profile software/snakemake/profiles/lpc --snakefile coffea4bees/workflows/Snakefile_isParking_friendtrees_Run3.smk --cores 4 --logger snkmt
- failed… fixing … rerunning… finished
Remaking SvBFeynet Friends
./run_container snakemake --profile software/snakemake/profiles/lpc --snakefile coffea4bees/workflows/Snakefile_SvBFeynNet_friendtrees_Run3.smk --cores 4 --logger snkmt
- Finished…
- Now need to test with 4M and with 3T1M selection…
28 April 2026 Tuesday
- Thinking about 3T1M…
- Right now mixing done for 4M … but anaylysis wants 3T1M … will come back to this after solid Run3 CI tests
- Working on Run3 CI tests
22 April 2025 Tuesday
- Plotting differnt vars from different files… Done
21 April 2026 Tuesday
- Starting
slurm_monitor.py - Need to test …
working
20 April 2026 Monday
- Looking into 2d plots
- OK 2D plots now working …
- Full works
- ratio works
09 April 2026 Thursday
SnakeMake monitor:
- should we make this code a fork ? … no we import instead
- Testing with my rerun
- adding features
08 April 2026 Wednesday
- Trying to get a good monitor setup
- settting up
src/tools/runner_monitor.py - Got the counts
- Got it running !
- Now need to integrate it in the TUI
- devleop
barista_console.py
~/.pixi/bin/pixi run python src/tools/barista_console.py
- Progress bar showing up !
- Can run on other machines !
01 April 2026 Wednesday
Error message for For condormonitor
condor_tail -name lpcschedd5.fnal.gov 58603883.0 Failed to peek at file from starter: Invalid symlink or filename (/dev/null) outside sandbox (/storage/local/data1/condor/execute/dir_2947429)
30 March 2026 Monday
- Getting the container to run locally
Run with
limactl shell cms cd CMSWork/hh4b/barista ./run_container ...
- Long time to install…
- Got it running but it takes a long time to load… not sure its worth it
25 March 2026 Wednesday
- Start condormonitor based on https://github.com/patrickbryant/nTupleAnalysis/blob/master/python/condor_monitor.py
21 March 2026 Saturday
- More cleaning up plotting… Big restructuring
20 March 2026 Friday
- Removed passPreSel from cut lists
- (All in claude)
- Refactoring plotting code .. big changes!
17 March 2026 Tuesday
- Chatting to AE re:killing years
- removing passPreSel … factor of 2 for no reason
[X]Updating the plotting code to not require a cut…- remove passPreSel as default
- added option to fail cut with
~cutName - [>>] Move defaults to not use histCut
16 March 2026 Monday
[X]Idea about saving memory by using one year- Maybe we can also remove cutHists
15 March 2026 Sunday
- Cleaning up plotting
- Created /test-barista and /test-coffea4bees skills… works great!
05 March 2026 Thursday
- Can switch accounts with
/login [X]Add SnakeMake workflows for all the CIs "Our gitlab CI workflows are in coffea4bees/workflows/gitlab-CI/ most of these also have Snakemake workflows in SnakefiletestCI.smk. Can you find and add any that are missing ?"[X]Cleaning up the handing of firends Clean up Run2 vs Run3 configs " I want to clean up the analysis/metadata config files. Specifially there are some configs with a nominal version and a Run3 version where the only real difference in the friends configuration eg: HH4bclassifierinputsRun3 and HH4bclassifierinputs. I would like to create a seperate config file for friends that changes with the year, similar to what we do in coffea4bees/metadata/triggersHH4b.yml. We then need to make sure that file is getting parsed and the friends are properly passed in runner.py- Claude Coded… Testing…
04 March 2026 Wednesday
- Setting up config of object selection
- Migrate object selection to yamls
- Moving the processors to use the base class:
- I did processorscluster4b
- Claude does makehemilibrary
- Then claude cleans up cluster4b…
[X]split out candjet[X]clean skimmer codes[X]Fix Hard coded quadJet selection[X]Clean up processstudyhemis
09 September 2025 Tuesday
./run_container source coffea4bees/scripts/analysis-test.sh./run_container source coffea4bees/scripts/analysis-signals-test.sh./run_container source coffea4bees/scripts/analysis-merge-test-job.sh./run_container source coffea4bees/scripts/analysis-plot.sh- Debugging
08 September 2025 Monday
- Setup code
new_master - Running CIs
- Making plots… But I dont think the tag is being used
Now fixed tag
30 March 2025 Sunday
- Testing 2d plots
- Fixing CI
- Merging with master
- clean up interface
- Split making the dict and plotting
28 March 2025 Friday
- Working 2d plots
- Merged the 2d and 1d helper functions
- Got the ratio going !!!
24 March 2025 Monday
- Roc Plots
- Bug fix phh
- rerunning signal samples
21 March 2025 Friday
- Working Roc Plots
- Run to make phh plots (SR and HH region)
- Added kl reweighting function
- Spikes from one of the variances of the signal sample… need to request nominal
- GOT kl-rw working!!!
- Added new hists (phh and phhhh)
- Running all signals on cmslpc322
- lots of errors… fixing
- Running on condor
- =source scripts/analysis-testAll-job.sh =
- some ZZ4b file transfer failed
- resubmit
- Signal finished
- Finally finished backgrounds too
- p(HH) seems even better than p(S) !!!
- mailed AE
- push code
- Add to AN
- <font color=red> On Saturday, on Saturday … on Saturday </font>
20 March 2025 Thursday
- Working Roc Plots
- got one curve at a time.
- Got multiple curves going
- Need to plot from different files
python plots/makeRocPlot.py hists/histAll_20250304_a100c66.coffea hists/histAll_signals_cHHHX_20250304_a100c66.coffea --outputFolder roc_curves- [>>] Run to make phh plots (SR and HH region)
- Curves for different k-lambdas
- Found spikes in kl = 2.45 sample